#include "core/regions/end_point.h"

namespace aliyun {

Endpoint::Endpoint(const string& name, const std::vector<string>& region_ids, const std::vector<ProductDomain>& product_domains)
  : name_(name), region_ids_(region_ids), product_domains_(product_domains) {
}

const string& Endpoint::GetName(void) const {
  return name_;
}
void Endpoint::SetName(const string& name) {
  name_ = name;
}

const std::vector<string>& Endpoint::GetRegionIds(void) const {
  return region_ids_;
}
void Endpoint::SetRegionIds(const std::vector<string>& region_ids) {
  region_ids_ = region_ids;
}

const std::vector<ProductDomain>& Endpoint::GetProductDomains(void) const {
  return product_domains_;
}
void Endpoint::SetProductDomains(const std::vector<ProductDomain>& product_domains) {
  product_domains_ = product_domains;
}

} // namespace aliyun {

// end of file
